package com.quasar.hpatient.view.personal;

import android.support.v7.widget.Toolbar;

import com.quasar.hpatient.R;
import com.quasar.hpatient.base.BaseActivity;
import com.quasar.hpatient.view.personal.historyRecord.BagFileActivity_;
import com.quasar.hpatient.view.personal.historyRecord.HistoryLaboratoryActivity_;
import com.quasar.hpatient.view.personal.historyRecord.HistoryRecordDayActivity_;
import com.quasar.hpatient.view.personal.historyRecord.LaboratoryDateActivity_;
import com.quasar.hpatient.view.personal.historyRecord.MyCaseActivity_;
import com.quasar.hpatient.view.prescription.AddPrescriptionActivity_;
import com.quasar.hpatient.view.prescription.HistoryLifeActivity_;
import com.quasar.hpatient.view.prescription.HistoryPrescriptionActivity_;
import com.quasar.hpatient.view.prescription.TakeMedicineActivity_;
import com.vise.log.ViseLog;

import org.androidannotations.annotations.AfterViews;
import org.androidannotations.annotations.Click;
import org.androidannotations.annotations.EActivity;
import org.androidannotations.annotations.ViewById;

import io.reactivex.Observable;
import io.reactivex.ObservableEmitter;
import io.reactivex.ObservableOnSubscribe;
import io.reactivex.Observer;
import io.reactivex.Scheduler;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.annotations.NonNull;
import io.reactivex.disposables.Disposable;
import io.reactivex.schedulers.Schedulers;

/**
 * 健康档案
 */
@EActivity(R.layout.activity_healthy_archives)
public class HealthyArchivesActivity extends BaseActivity {

    @ViewById(R.id.main_toolbar)
    Toolbar main_toolbar;

    @AfterViews
    void init(){
        initView();
        initData();
    }

    @Override
    protected void initView() {
        initToolbar();
    }

    @Override
    protected void initData() {

    }

    //我的病例
    @Click(R.id.mv_medical)
    public void mv_medical(){
        MyCaseActivity_.intent(this).start();
    }


    //健康日记
    @Click(R.id.mv_symptom)
    public void mv_symptom(){

    }

    //档案袋
    @Click(R.id.mv_bag_file)
    public void mv_bag_file(){
        BagFileActivity_.intent(this).start();
    }

    //历史药单
    @Click(R.id.mv_history_drug)
    public void mv_history_drug(){
        HistoryPrescriptionActivity_.intent(this).start();
    }

    //历史日常记录
    @Click(R.id.mv_record)
    public void mv_record(){

        HistoryRecordDayActivity_.intent(this).start();
    }

    //化验报告
    @Click(R.id.mv_presentation)
    public void mv_presentation(){
       // HistoryLaboratoryActivity_.intent(this).start();
        LaboratoryDateActivity_.intent(this).start();
    }

    //服药记录
    @Click(R.id.mv_prescription)
    public void mv_prescription(){
//        AddPrescriptionActivity_.intent(this).start();
        TakeMedicineActivity_.intent(this).start();
    }

    //生命史
    @Click(R.id.mv_event)
    public void mv_event(){
        HistoryLifeActivity_.intent(this).start();
    }

}
